/**
 * ParkDevice.java 
 * Copyright © 2014-2016, 杭州泊享网络科技有限公司
 * 
 * @author Liu Tao
 * @create 2015年5月8日
 */
package com.pshare.artemis.parkingdevice.bean;

import java.io.Serializable;
import java.util.Date;

import com.pshare.artemis.parkingdevice.enums.UpDownState;
import com.pshare.framework.bean.BaseBean;

/**
 * 停车设施(地锁/闸机)
 */
public class ParkingDevice implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5832039605986763524L;

	private Long id;

	/** 自定义名称 */
	private String name;
	//网关名
	private String gatewayName;
	/** 设备编码 */
	private Byte code;
	
	/** 升降状态{@link UpDownState} */
	private Integer upDownState;
	//蜂鸣器状态{@link BuzzerState} 
	private Integer buzzerState;
	//电量状态{@link EleState} 
	private Integer eleState;
	
	/** MAC地址 */
	private String mac;

	/** 网关id */
	private Long gatewayId;

	private Boolean deleted;
	
	private Date updateTime;
	
	private Boolean isOnline;

	public ParkingDevice() {

	}
	
	public Integer getUpDownState() {
		return upDownState;
	}

	public String getMac() {
		return mac;
	}

	public void setUpDownState(Integer upDownState) {
		this.upDownState = upDownState;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public ParkingDevice(Long id) {
		this.id = id;
	}

	public Byte getCode() {
		return code;
	}

	public void setCode(Byte code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getGatewayId() {
		return gatewayId;
	}

	public void setGatewayId(Long gatewayId) {
		this.gatewayId = gatewayId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getBuzzerState() {
		return buzzerState;
	}

	public void setBuzzerState(Integer buzzerState) {
		this.buzzerState = buzzerState;
	}

	public Integer getEleState() {
		return eleState;
	}

	public void setEleState(Integer eleState) {
		this.eleState = eleState;
	}

	public Boolean getDeleted() {
		return deleted;
	}

	public void setDeleted(Boolean deleted) {
		this.deleted = deleted;
	}

	public Boolean getIsOnline() {
		return isOnline;
	}

	public void setIsOnline(Boolean isOnline) {
		this.isOnline = isOnline;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getGatewayName() {
		return gatewayName;
	}

	public void setGatewayName(String gatewayName) {
		this.gatewayName = gatewayName;
	}
	
	

}
